﻿:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --secondary: #7209b7;
    --light: #f8f9fa;
    --dark: #212529;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #eef1f5, #d8e3f0);
    font-family: 'Vazirmatn', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.login-box {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    min-height: 650px;
    position: relative;
}

.login-right {
    flex: 1;
    background: white;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.logo-text {
    font-weight: 700;
    font-size: 22px;
}

.form-container {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.form-subtitle {
    color: #6c757d;
    text-align: center;
    margin-bottom: 35px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.form-control, .form-select {
    border-radius: 12px;
    padding: 12px 15px;
    border: 1.5px solid #e9ecef;
    transition: all 0.3s;
    font-size: 15px;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
    }

.btn-register {
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    padding: 14px 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    margin-top: 10px;
}

    .btn-register:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
    }

.text-danger {
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.file-input-container {
    position: relative;
}

.file-input-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--primary);
    font-weight: 500;
}

    .file-input-label:hover {
        color: var(--primary-dark);
    }

.mb-3 {
    margin-bottom: 1.5rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

@media (max-width: 768px) {
    .login-right {
        padding: 30px 20px;
    }

    .col-sm-4 {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .login-right {
        padding: 25px 15px;
    }

    .form-title {
        font-size: 20px;
    }

    .form-subtitle {
        font-size: 14px;
    }
}
